package com.tencent.system.service;

import com.tencent.basic.util.PageList;
import com.tencent.system.domain.SystemDictionaryDetail;
import com.tencent.system.query.SystemDictionaryDetailQuery;

import java.util.List;

/**
 * service - 业务层接口
 */
public interface ISystemDictionaryDetailService {
    /**
     * service: 查询所有
     * @return
     */
    List<SystemDictionaryDetail> queryAll();

    /**
     * service: 查询单个
     * @return
     */
    SystemDictionaryDetail queryById(Long id);

    /**
     * service: 删除
     * @param id
     */
    void delete(Long id);

    /**
     * service: 添加
     * @param systemDictionaryDetail
     */
    void save(SystemDictionaryDetail systemDictionaryDetail);

    /**
     * service: 修改
     * @param systemDictionaryDetail
     */
    void update(SystemDictionaryDetail systemDictionaryDetail);

    /**
     * service: 分页查询
     * @param query
     * @return
     */
    PageList<SystemDictionaryDetail> queryPage(SystemDictionaryDetailQuery query);

    void patchDelete(Long[] ids);
}
